package com.ruoyi.fys.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.fys.mapper.RelicLevelsMapper;
import com.ruoyi.fys.domain.RelicLevels;
import com.ruoyi.fys.service.IRelicLevelsService;

/**
 * 佛岩寺数据Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-09-01
 */
@Service
public class RelicLevelsServiceImpl implements IRelicLevelsService 
{
    @Autowired
    private RelicLevelsMapper relicLevelsMapper;

    /**
     * 查询佛岩寺数据
     * 
     * @param id 佛岩寺数据主键
     * @return 佛岩寺数据
     */
    @Override
    public RelicLevels selectRelicLevelsById(String id)
    {
        return relicLevelsMapper.selectRelicLevelsById(id);
    }

    /**
     * 查询佛岩寺数据列表
     * 
     * @param relicLevels 佛岩寺数据
     * @return 佛岩寺数据
     */
    @Override
    public List<RelicLevels> selectRelicLevelsList(RelicLevels relicLevels)
    {
        return relicLevelsMapper.selectRelicLevelsList(relicLevels);
    }

    /**
     * 新增佛岩寺数据
     * 
     * @param relicLevels 佛岩寺数据
     * @return 结果
     */
    @Override
    public int insertRelicLevels(RelicLevels relicLevels)
    {
        return relicLevelsMapper.insertRelicLevels(relicLevels);
    }

    /**
     * 修改佛岩寺数据
     * 
     * @param relicLevels 佛岩寺数据
     * @return 结果
     */
    @Override
    public int updateRelicLevels(RelicLevels relicLevels)
    {
        return relicLevelsMapper.updateRelicLevels(relicLevels);
    }

    /**
     * 批量删除佛岩寺数据
     * 
     * @param ids 需要删除的佛岩寺数据主键
     * @return 结果
     */
    @Override
    public int deleteRelicLevelsByIds(String[] ids)
    {
        return relicLevelsMapper.deleteRelicLevelsByIds(ids);
    }

    /**
     * 删除佛岩寺数据信息
     * 
     * @param id 佛岩寺数据主键
     * @return 结果
     */
    @Override
    public int deleteRelicLevelsById(String id)
    {
        return relicLevelsMapper.deleteRelicLevelsById(id);
    }
}
